FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.7.16  |  FHIR Version n/a  User: [n/a]

Resource PlanDefinition/FHIR Server from package smart.who.int.anc#current (125 ms)

Package smart.who.int.anc
Type PlanDefinition
Id Id
FHIR Version R4
Source http://smart.who.int/anc/https://build.fhir.org/ig/WorldHealthOrganization/smart-anc/PlanDefinition-ANCDT19.html
Url http://smart.who.int/anc/PlanDefinition/ANCDT19
Version 0.3.0
Status active
Date 2025-06-24T13:58:48-06:00
Name ANCDT19
Title ANC.DT.19 Hepatitis B diagnosis
Experimental False
Realm uv
Authority who
Description If the woman tests positive for hepatitis B, provide counselling and referral as needed

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Id: ANCDT19
Url: ANC.DT.19 Hepatitis B diagnosis
Version: 0.3.0
Official

ANC.DT.19

Title: ANC.DT.19 Hepatitis B diagnosis
Type:

system: http://terminology.hl7.org/CodeSystem/plan-definition-type

code: eca-rule

Date: 2025-06-24 13:58:48-0600
Publisher: World Health Organization (WHO)
Description:

If the woman tests positive for hepatitis B, provide counselling and referral as needed

Use Context:
code value
task
Jurisdiction: 001
Libraries:
ANC.DT.19 Hepatitis B diagnosis
Actions:
ANC.DT.19 Hepatitis B diagnosis:
When: Named Event: ANC.B10.4. Diagnosis and treatment
Then:
Counselling: – Provide post-testing counselling – Advise retesting and immunisation if ongoing risk or known exposure
If: Applicability: "Hepatitis B test result" = "Hepatitis B negative" (Should Provide hepatitis B counselling and immunization)
Counseling: – Provide post-testing counselling – Request confirmatory nucleic acid testing (NAT) – Refer to hospital
If: Applicability: "Hepatitis B test result" = "Hepatitis B positive" (Should Conduct hepatitis B positive counselling)

Source

{
  "resourceType" : "PlanDefinition",
  "id" : "ANCDT19",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n <table class=\"grid dict\">\n \n <tr>\n <th scope=\"row\"><b>Id: </b></th>\n <td style=\"padding-left: 4px;\">ANCDT19</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Url: </b></th>\n <td style=\"padding-left: 4px;\"><a href=\"PlanDefinition-ANCDT19.html\">ANC.DT.19 Hepatitis B diagnosis</a></td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Version: </b></th>\n <td style=\"padding-left: 4px;\">0.3.0</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\">\n <b>\n \n Official\n \n </b>\n </th>\n <td style=\"padding-left: 4px;\">\n \n <p style=\"margin-bottom: 5px;\">\n <span>ANC.DT.19</span>\n </p>\n \n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Title: </b></th>\n <td style=\"padding-left: 4px;\">ANC.DT.19 Hepatitis B diagnosis</td>\n </tr>\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Type: </b></th>\n <td style=\"padding-left: 4px;\">\n \n \n \n <p style=\"margin-bottom: 5px;\">\n <b>system: </b> <span><a href=\"http://terminology.hl7.org/6.4.0/CodeSystem-plan-definition-type.html\">http://terminology.hl7.org/CodeSystem/plan-definition-type</a></span>\n </p>\n \n \n <p style=\"margin-bottom: 5px;\">\n <b>code: </b> <span>eca-rule</span>\n </p>\n \n \n \n \n \n </td>\n </tr>\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Date: </b></th>\n <td style=\"padding-left: 4px;\">2025-06-24 13:58:48-0600</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Publisher: </b></th>\n <td style=\"padding-left: 4px;\">World Health Organization (WHO)</td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Description: </b></th>\n <td style=\"padding-left: 4px;\"><div><p>If the woman tests positive for hepatitis B, provide counselling and referral as needed</p>\n</div></td>\n </tr>\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Use Context: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n <tr>\n <th><b>code</b></th>\n <th><b>value</b></th>\n </tr>\n \n <tr>\n <td>task</td>\n <td/>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Jurisdiction: </b></th>\n <td style=\"padding-left: 4px;\">001</td>\n </tr>\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n <tr>\n <th scope=\"row\"><b>Libraries: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr>\n <td><a href=\"Library-ANCDT19.html\">ANC.DT.19 Hepatitis B diagnosis</a></td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n\n \n <tr>\n <th scope=\"row\"><b>Actions: </b></th>\n <td style=\"padding-left: 4px;\">\n <table class=\"grid-dict\">\n \n <tr>\n <td>\n \n <b> ANC.DT.19 Hepatitis B diagnosis:</b> \n \n <br/>\n \n <b>When:</b>\n \n <i>Named Event:</i> ANC.B10.4. Diagnosis and treatment\n <br/>\n \n \n \n \n <b>Then:</b>\n <table class=\"grid-dict\">\n \n <tr>\n <td>\n \n Counselling:\n– Provide post-testing counselling\n– Advise retesting and immunisation if ongoing risk or known exposure\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n &quot;Hepatitis B test result&quot; = &quot;Hepatitis B negative&quot;\n \n <i>(Should Provide hepatitis B counselling and immunization)</i>\n <br/>\n \n \n \n \n \n </td>\n </tr>\n \n <tr>\n <td>\n \n Counseling:\n– Provide post-testing counselling\n– Request confirmatory nucleic acid testing (NAT)\n– Refer to hospital\n \n <br/>\n \n \n <b>If:</b>\n \n <i>Applicability:</i>\n \n &quot;Hepatitis B test result&quot; = &quot;Hepatitis B positive&quot;\n \n <i>(Should Conduct hepatitis B positive counselling)</i>\n <br/>\n \n \n \n \n \n </td>\n </tr>\n \n </table>\n \n </td>\n </tr>\n \n </table>\n </td>\n </tr>\n \n </table>\n</div>\n</div>"
  },
  "contained" : [
    {
      "resourceType" : "Library",
      "id" : "effective-data-requirements",
      "name" : "EffectiveDataRequirements",
      "status" : "active",
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/library-type",
            "code" : "module-definition"
          }
        ]
      },
      "relatedArtifact" : [
        {
          "type" : "depends-on",
          "display" : "Library ContactData",
          "resource" : "http://smart.who.int/anc/Library/ANCContactDataElements"
        },
        {
          "type" : "depends-on",
          "display" : "Library Cx",
          "resource" : "http://smart.who.int/anc/Library/ANCConcepts"
        },
        {
          "type" : "depends-on",
          "display" : "Library FHIRHelpers",
          "resource" : "http://smart.who.int/anc/Library/FHIRHelpers|4.0.1"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Hepatitis B test result",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de66"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Hepatitis B Test Result - Negative Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de73"
        },
        {
          "type" : "depends-on",
          "display" : "Value set Hepatitis B Test Result - Positive Choices",
          "resource" : "http://smart.who.int/anc/ValueSet/anc-b9-de72"
        }
      ],
      "parameter" : [
        {
          "name" : "encounter",
          "use" : "in",
          "min" : 0,
          "max" : "1",
          "type" : "string"
        },
        {
          "name" : "Should Provide hepatitis B counselling and immunization",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "boolean"
        },
        {
          "name" : "Should Conduct hepatitis B positive counselling",
          "use" : "out",
          "min" : 0,
          "max" : "1",
          "type" : "boolean"
        }
      ],
      "dataRequirement" : [
        {
          "type" : "Procedure",
          "profile" : [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport" : [
            "code",
            "status",
            "encounter",
            "encounter.reference"
          ],
          "codeFilter" : [
            {
              "path" : "code",
              "valueSet" : "http://smart.who.int/anc/ValueSet/anc-b9-de66"
            }
          ]
        }
      ]
    }
  ],
  "extension" : [
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCContactDataElements"
        },
        {
          "url" : "name",
          "valueString" : "Hepatitis B test result"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n @dataElement: ANC.B9.DE66 Hepatitis B test result\n @activity: ANC.B9 Lab tests & imaging\n @description: Select the reason why a Hep B test was not done\n*/\ndefine \"Hepatitis B test result\":\n [Procedure: Cx.\"Hepatitis B test result\"] PND\n where PND.status = 'not-done'\n and Last(Split(PND.encounter.reference, '/')) = Last(Split(encounter, '/'))\n return PND.code"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 0
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCDT19"
        },
        {
          "url" : "name",
          "valueString" : "Should Provide hepatitis B counselling and immunization"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n\"Hepatitis B test result\" = \"Hepatitis B negative\"\n*/\ndefine \"Should Provide hepatitis B counselling and immunization\":\n ContactData.\"Hepatitis B test result\" in Cx.\"Hepatitis B Test Result - Negative Choices\""
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 1
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "ANCDT19"
        },
        {
          "url" : "name",
          "valueString" : "Should Conduct hepatitis B positive counselling"
        },
        {
          "url" : "statement",
          "valueString" : "/*\n\"Hepatitis B test result\" = \"Hepatitis B positive\"\n*/\ndefine \"Should Conduct hepatitis B positive counselling\":\n ContactData.\"Hepatitis B test result\" in Cx.\"Hepatitis B Test Result - Positive Choices\""
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 2
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value ProcedureStatus): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 3
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToString"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToString(value string): value.value"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 4
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToConcept"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToConcept(concept FHIR.CodeableConcept):\n if concept is null then\n null\n else\n System.Concept {\n codes: concept.coding C return ToCode(C),\n display: concept.text.value\n }"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 5
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "extension" : [
        {
          "url" : "libraryName",
          "valueString" : "FHIRHelpers"
        },
        {
          "url" : "name",
          "valueString" : "ToCode"
        },
        {
          "url" : "statement",
          "valueString" : "define function ToCode(coding FHIR.Coding):\n if coding is null then\n null\n else\n System.Code {\n code: coding.code.value,\n system: coding.system.value,\n version: coding.version.value,\n display: coding.display.value\n }"
        },
        {
          "url" : "displaySequence",
          "valueInteger" : 6
        }
      ],
      "url" : "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
    },
    {
      "id" : "effective-data-requirements",
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
      "valueCanonical" : "#effective-data-requirements"
    },
    {
      "url" : "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
      "valueReference" : {
        "reference" : "Device/cqf-tooling"
      }
    }
  ],
  "url" : "http://smart.who.int/anc/PlanDefinition/ANCDT19",
  "identifier" : [
    {
      "use" : "official",
      "value" : "ANC.DT.19"
    }
  ],
  "version" : "0.3.0",
  "name" : "ANCDT19",
  "title" : "ANC.DT.19 Hepatitis B diagnosis",
  "type" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/plan-definition-type",
        "code" : "eca-rule"
      }
    ]
  },
  "status" : "active",
  "experimental" : false,
  "date" : "2025-06-24T13:58:48-06:00",
  "publisher" : "World Health Organization (WHO)",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.who.int"
        }
      ]
    }
  ],
  "description" : "If the woman tests positive for hepatitis B, provide counselling and referral as needed",
  "useContext" : [
    {
      "code" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "task",
        "display" : "Workflow Task"
      },
      "valueCodeableConcept" : {
        "coding" : [
          {
            "system" : "http://smart.who.int/anc/CodeSystem/activity-codes",
            "code" : "ANC.B10.4.",
            "display" : "Diagnosis and treatment"
          }
        ]
      }
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "library" : [
    "http://smart.who.int/anc/Library/ANCDT19"
  ],
  "action" : [
    {
      "title" : "ANC.DT.19 Hepatitis B diagnosis",
      "trigger" : [
        {
          "type" : "named-event",
          "name" : "ANC.B10.4. Diagnosis and treatment"
        }
      ],
      "action" : [
        {
          "id" : "1",
          "title" : "Provide hepatitis B counselling and immunization",
          "description" : "Provide hepatitis B counselling and immunization",
          "textEquivalent" : "Counselling:\n– Provide post-testing counselling\n– Advise retesting and immunisation if ongoing risk or known exposure",
          "documentation" : [
            {
              "type" : "citation",
              "label" : "Guidelines on hepatitis B and C testing (2017): Section 16.6 (6)"
            }
          ],
          "condition" : [
            {
              "kind" : "applicability",
              "expression" : {
                "description" : "\"Hepatitis B test result\" = \"Hepatitis B negative\"",
                "language" : "text/cql-identifier",
                "expression" : "Should Provide hepatitis B counselling and immunization"
              }
            }
          ]
        },
        {
          "id" : "2",
          "title" : "Conduct hepatitis B positive counselling",
          "description" : "Conduct hepatitis B positive counselling",
          "textEquivalent" : "Counseling:\n– Provide post-testing counselling\n– Request confirmatory nucleic acid testing (NAT)\n– Refer to hospital",
          "documentation" : [
            {
              "type" : "citation",
              "label" : "Guidelines on hepatitis B and C testing (2017): Section 16.7 (6)"
            }
          ],
          "condition" : [
            {
              "kind" : "applicability",
              "expression" : {
                "description" : "\"Hepatitis B test result\" = \"Hepatitis B positive\"",
                "language" : "text/cql-identifier",
                "expression" : "Should Conduct hepatitis B positive counselling"
              }
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.